package com.cema.manage.project.manage.userDailyActivity.domain;

import cn.hutool.core.util.StrUtil;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 用户日活表 biz_user_daily_activity
 *
 * @author reasahi
 * @date 2024-08-04
 */
public class UserDailyActivityVo implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    private Integer id;
    /**
     * 用户id
     */
    private Integer usId;

    private String udaIp;
    /**
     * 登录时间
     */
    @DateTimeFormat(pattern = "yyy-MM-dd HH:mm:ss")
    private Date startTime;

    @DateTimeFormat(pattern = "yyy-MM-dd HH:mm:ss")
    private Date endTime;

    private String nickname;

    private String udaSeparation;
    /**
     * 是否模拟器（1是，2否）
     */
    private String udaSimulator;
    /**
     * 是否开启调试模式（1是，2否）
     */

    private String udaDebugMode;
    /**
     * 是否USB调试模式（1是，2否）
     */
    private String udaUsbMode;
    /**
     * 是否root（1是，2否）
     */
    private String udaRoot;
    /**
     * 是否开启无障碍模式（1是，2否）
     */
    private String udaAccessibility;
    /**
     * 是否开启VIP代理（1是，2否）
     */
    private String udaVpnProxy;

    /**
     * SIM状态
     */
    private String udaSimStatus;

    private String udaSystemVersionCode;

    private String startUdaAllApp;
    private String endUdaAllApp;

    public String getUdaSystemVersionCode() {
        return udaSystemVersionCode;
    }

    public void setUdaSystemVersionCode(String udaSystemVersionCode) {
        this.udaSystemVersionCode = udaSystemVersionCode;
    }

    public String getUdaSeparation() {
        return udaSeparation;
    }

    public void setUdaSeparation(String udaSeparation) {
        this.udaSeparation = udaSeparation;
    }

    public String getUdaSimulator() {
        return udaSimulator;
    }

    public void setUdaSimulator(String udaSimulator) {
        this.udaSimulator = udaSimulator;
    }

    public String getUdaDebugMode() {
        return udaDebugMode;
    }

    public void setUdaDebugMode(String udaDebugMode) {
        this.udaDebugMode = udaDebugMode;
    }

    public String getUdaUsbMode() {
        return udaUsbMode;
    }

    public void setUdaUsbMode(String udaUsbMode) {
        this.udaUsbMode = udaUsbMode;
    }

    public String getUdaRoot() {
        return udaRoot;
    }

    public void setUdaRoot(String udaRoot) {
        this.udaRoot = udaRoot;
    }

    public String getUdaAccessibility() {
        return udaAccessibility;
    }

    public void setUdaAccessibility(String udaAccessibility) {
        this.udaAccessibility = udaAccessibility;
    }

    public String getUdaVpnProxy() {
        return udaVpnProxy;
    }

    public void setUdaVpnProxy(String udaVpnProxy) {
        this.udaVpnProxy = udaVpnProxy;
    }

    public String getUdaSimStatus() {
        return udaSimStatus;
    }

    public void setUdaSimStatus(String udaSimStatus) {
        this.udaSimStatus = udaSimStatus;
    }

    public String getStartUdaAllApp() {
        return startUdaAllApp;
    }

    public void setStartUdaAllApp(String startUdaAllApp) {
        this.startUdaAllApp = startUdaAllApp;
    }



    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUsId() {
        return usId;
    }

    public void setUsId(Integer usId) {
        this.usId = usId;
    }

    public Date getStartTime() {
        return startTime;
    }

    public String getUdaIp() {
        return udaIp;
    }

    public void setUdaIp(String udaIp) {
        if (StrUtil.isNotEmpty(udaIp)) {
            this.udaIp = udaIp;
        } else {
            this.udaIp = null;
        }
    }

    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    public Date getEndTime() {
        return endTime;
    }

    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    public String getNickname() {
        return nickname;
    }

    public void setNickname(String nickname) {
        this.nickname = nickname;
    }

    public String getEndUdaAllApp() {
        return endUdaAllApp;
    }

    public void setEndUdaAllApp(String endUdaAllApp) {
        this.endUdaAllApp = endUdaAllApp;
    }
}
